package com.shouer.doc.ui.neworder.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.shouer.doc.R;

/**
 * Created by ZXL on 2016/11/25.
 */

public class NewOrderViewHolder extends RecyclerView.ViewHolder {

    public SimpleDraweeView patIcoView;
    public TextView patNameView;
    public TextView patGenderView;
    public TextView patAgeView;

    public View detailView;
    public View orderInfoLayout;
    public TextView orderTimeView;
    public View telLayout;
    public TextView telView;
    public TextView orderDurationView;
    public ImageView orderTypeView;

    public TextView patDescribe;
    public View actionView;
    public TextView timeView;
    public View refuseBtn;

    public NewOrderViewHolder(View itemView) {
        super(itemView);
        patIcoView= (SimpleDraweeView) itemView.findViewById(R.id.pat_ico);
        patNameView= (TextView) itemView.findViewById(R.id.pat_name);
        patGenderView= (TextView) itemView.findViewById(R.id.gender);
        patAgeView= (TextView) itemView.findViewById(R.id.age);

        detailView=itemView.findViewById(R.id.detail_info);
        orderInfoLayout=itemView.findViewById(R.id.order_info_layout);
        orderTimeView= (TextView) itemView.findViewById(R.id.order_time);
        telLayout=itemView.findViewById(R.id.tel_layout);
        telView= (TextView) itemView.findViewById(R.id.contactTel);
        orderDurationView= (TextView) itemView.findViewById(R.id.duration);
        patDescribe= (TextView) itemView.findViewById(R.id.patDescribe);
        refuseBtn=itemView.findViewById(R.id.refuse_btn);
        actionView=itemView.findViewById(R.id.action_btn);
        timeView= (TextView) itemView.findViewById(R.id.time);
        orderTypeView= (ImageView) itemView.findViewById(R.id.type_ico);
    }
}
